/******************************************************************************
 * Copyright (C) 2017 Chengdu Dlhd information industry co. LTD.
 * All Rights Reserved.
 * 本软件为成都顶联互动信息产业有限公司开发研制。未经本公司正式书面同意，其他任何个人、团体不得使用、复制、修改或发布本软件.
 *****************************************************************************/
package net.dgg.dggcloud.service.iboss.entity;

import net.dgg.dggcloud.service.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * <p>@Title 生产订单流程操作记录表</p>
 * <p>@Description 类功能描述</p>
 * <p>@Version 1.0.0 版本号</p>
 * <p>@author @author 孙上峰</p>
 * <p>@date 2017-11-27 14:17:59 创建日期</p>
 * <p>Copyright © dgg group.All Rights Reserved. 版权信息</p>
 */
@Entity
@Table(name = "sc_product_flow_operating")
public class ScProFlowOperating extends BaseEntity {

    //数据库表名
    public static final String TABLE_NAME = "sc_product_flow_operating";

    //生产订单id
    @Column(name = "pro_product_id")
    private Long proProductId;

    //生产订单编号
    @Column(name = "pro_product_no")
    private String proProductNo;

    //流程人员id
    @Column(name = "flow_user_id")
    private Long flowUserId;

    //流程人员名称+工号
    @Column(name = "flow_user_name")
    private String flowUserName;

    //生产订单状态
    @Column(name = "status")
    private String status;

    //操作
    @Column(name = "operation")
    private String operation;

    //操作类型（自定义）
    @Column(name = "operation_type")
    private String operationType;

    //备注(CODE)
    @Column(name = "remark")
    private String remark;

    //备注详细信息
    @Column(name = "remark_info")
    private String remarkInfo;

    //驳回原因
    @Column(name = "return_or_abandon_remark")
    private String returnOrAbandonRemark;

    //退单或废单时间
    @Column(name = "return_or_abandon_time")
    private Date returnOrAbandonTime;
    //驳回人
    @Column(name = "refuse_person")
    private String refusePerson;

    public String getRefusePerson() {
        return refusePerson;
    }

    public void setRefusePerson(String refusePerson) {
        this.refusePerson = refusePerson;
    }

    public String getRemarkInfo() {
        return remarkInfo;
    }

    public void setRemarkInfo(String remarkInfo) {
        this.remarkInfo = remarkInfo;
    }

    public Long getProProductId() {
        return proProductId;
    }

    public void setProProductId(Long proProductId) {
        this.proProductId = proProductId;
    }

    public String getProProductNo() {
        return proProductNo;
    }

    public void setProProductNo(String proProductNo) {
        this.proProductNo = proProductNo;
    }

    public Long getFlowUserId() {
        return flowUserId;
    }

    public void setFlowUserId(Long flowUserId) {
        this.flowUserId = flowUserId;
    }

    public String getFlowUserName() {
        return flowUserName;
    }

    public void setFlowUserName(String flowUserName) {
        this.flowUserName = flowUserName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public String getOperationType() {
        return operationType;
    }

    public void setOperationType(String operationType) {
        this.operationType = operationType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getReturnOrAbandonRemark() {
        return returnOrAbandonRemark;
    }

    public void setReturnOrAbandonRemark(String returnOrAbandonRemark) {
        this.returnOrAbandonRemark = returnOrAbandonRemark;
    }

    public Date getReturnOrAbandonTime() {
        return returnOrAbandonTime;
    }

    public void setReturnOrAbandonTime(Date returnOrAbandonTime) {
        this.returnOrAbandonTime = returnOrAbandonTime;
    }
}
